module.exports = (app) => {
	const stock = require('../controller/stock.controller.js')
	var router = require('express').Router()
	router.get('/', stock.findOne) //监听 调用stock.findOne
	router.get('/', stock.createOne)
	router.get('/', stock.delete)
	router.get('/', stock.update)
	app.use('/stock', router) //
}
//登陆和注册 加其他表的route.js
